<template>
    <router-view />
    <header>
        <router-link
            to="/"
            class="nav-link"
            :class="{ 'active': $route.path === '/' }"
        >
            Home
        </router-link> |
        <router-link
            to="/login"
            class="nav-link"
            :class="{ 'active': $route.path === '/login' }"
        >
            Login
        </router-link> | 
        <router-link
            to="/demo"
            class="nav-link"
            :class="{ 'active': $route.path === '/demo' }"
        >
            Demo
        </router-link>
    </header>
</template>